<?php
session_start();
$_SESSION['loggedIn'] = false;
session_destroy();
header("Location: index.php");
?>